package com.qianfeng.smartdevices.mapper;

import com.qianfeng.smartdevices.pojo.UserRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserRoleMapper {

    void addUserRole(UserRole userRole);

    List<UserRole> findAllUserRole();

    void updateUserRole(@Param("userId")Long userId,@Param("roleId")Long roleId,@Param("uid")Long uid,@Param("rid")Long rid);

}
